<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>032-Promise的静态方法-reject.html</title>
</head>
<body>
	
</body>
<script type="text/javascript">
	const p = Promise.reject('error data')

	p
	.catch(err=>{
		console.log(err)
	})
</script>
</html>